package makabakaquestionnaire.zutsoftware.entity.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class QueryProjectRequest {
    private Long userId;
    private Integer status;

    private String projectName;
    private boolean isDelete;
    private String courseId;

    //@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date beginDateTime;

    //@DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date endDateTime;
    //默认值为第一页，10条数据
    private Integer pageNum=1;  //第几页
    private Integer pageSize=10;  //页大小
}
